package com.weixin.paleituo.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Author yichao
 * Time  2018/4/26 19:13
 * Dest  提交应用到我家
 */

public class UseMyHomeInfo implements Parcelable {


    /**
     * "userId":"30",#用户id
     "token":""#token

     * goodsId : 913
     * storeId : 91
     * goodsSpecsInfo : ...
     * idlist : 12_56
     * madeType : 2
     * msg :
     * goodsSalenum : 1
     */
    private int goodsId;
    private int storeId;
    private String goodsSpecsInfo;
    private String idlist;
    private String madeType;
    private String msg;
    private int goodsSalenum;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getGoodsSpecsInfo() {
        return goodsSpecsInfo;
    }

    public void setGoodsSpecsInfo(String goodsSpecsInfo) {
        this.goodsSpecsInfo = goodsSpecsInfo;
    }

    public String getIdlist() {
        return idlist;
    }

    public void setIdlist(String idlist) {
        this.idlist = idlist;
    }

    public String getMadeType() {
        return madeType;
    }

    public void setMadeType(String madeType) {
        this.madeType = madeType;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getGoodsSalenum() {
        return goodsSalenum;
    }

    public void setGoodsSalenum(int goodsSalenum) {
        this.goodsSalenum = goodsSalenum;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.goodsId);
        dest.writeInt(this.storeId);
        dest.writeString(this.goodsSpecsInfo);
        dest.writeString(this.idlist);
        dest.writeString(this.madeType);
        dest.writeString(this.msg);
        dest.writeInt(this.goodsSalenum);
    }

    public UseMyHomeInfo() {
    }

    protected UseMyHomeInfo(Parcel in) {
        this.goodsId = in.readInt();
        this.storeId = in.readInt();
        this.goodsSpecsInfo = in.readString();
        this.idlist = in.readString();
        this.madeType = in.readString();
        this.msg = in.readString();
        this.goodsSalenum = in.readInt();
    }

    public static final Parcelable.Creator<UseMyHomeInfo> CREATOR = new Parcelable.Creator<UseMyHomeInfo>() {
        @Override
        public UseMyHomeInfo createFromParcel(Parcel source) {
            return new UseMyHomeInfo(source);
        }

        @Override
        public UseMyHomeInfo[] newArray(int size) {
            return new UseMyHomeInfo[size];
        }
    };
}
